// coupon-item
const { BaseBehavior, COMPONENT_OPTIONS } = require('../../mixins/component');
Component({
    behaviors: [BaseBehavior],
    options: {
        ...COMPONENT_OPTIONS,
    },
    properties: {
        couponInfo: {
            type: Object,
            value: {},
        },
        isHaveBorder: {
            type: Boolean,
            value: false,
        },
    },
    data: {

    },
    methods: {
        detailAction() {
            const { couponInfo } = this.data;
            this.triggerEvent('detail', couponInfo);
        },
    }
})
